php convert char to hex

50

php convert char to hex -

<?php 
$str = bin2hex("Hello World");
echo($str); 
?>
 

Comments

Submit
0 Comments